<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../dist/layui.css">
    <link rel="stylesheet" href="../src-new/style-form.css">
    <style>
        body{
            padding: 20px 200px;
        }
    </style>
</head>
<body>

<form class="form-inline layui-form">
    <div class="form-group">
        <label for="exampleInputName2">Name</label>
        <input type="text" class="form-control" id="exampleInputName2" placeholder="Jane Doe">
    </div>
    <div class="form-group">
        <label for="exampleInputEmail2">Email</label>
        <input type="email" class="form-control" id="exampleInputEmail2" placeholder="jane.doe@example.com">
    </div>
    <div class="form-group">
        <button type="submit" class="btn btn-primary">Send invitation</button>
    </div>

</form>

<script src="../src/layui.js"></script>
<script>
    layui.use(['jquery', 'form'], function($, form){

    });
</script>
</body>
</html>